# -*- coding: utf-8 -*-
"""
@Time    : 2024/9/23 13:53 
@Author  : ZhangShenao 
@File    : test.py 
@Desc    : 
"""

from langchain_community.embeddings import FastEmbedEmbeddings

if __name__ == '__main__':
    embeddings = FastEmbedEmbeddings()
    document_embeddings = embeddings.embed_documents(
        ["This is a document", "This is some other document"]
    )
    query_embeddings = embeddings.embed_query("This is a query")
